package com.sevenmall.productservice.mapper;

import com.sevenmall.productservice.pojo.Brand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 品牌商表 Mapper 接口
 * </p>
 *
 * @author Yesi
 * @since 2020-08-24
 */
@Repository
public interface BrandMapper extends BaseMapper<Brand> {

        public Brand selectById(int id);

        public int insert(Brand brand);

        public int deleteById(Integer id);

        public int update(Brand brand);

}
